package com.lf.enums;


/** 
* @ClassName: ExamineStatusEnum
* @Description:  
* @Author: bite 
* @Date: 2019/7/29 
*/ 
public enum ExamineStatusEnum implements CodeBaseEnum{

//    SUCC(0,"审核成功"),
//    FAIL(1,"审核被拒"),
//    ING(2,"审核中"),
//    BACK(3,"已撤回"),
//    RELEASE(4,"已发布"),
//    WAIT(5,"待审核"),

//    CHECK_FEE(1,"核查比对费用-移动支付"),
//    CHECK_FEE_2(2,"核查比对续费-移动支付"),
//    DIS_FEE(3,"代理商加盟费用-移动支付");

    CHECK_FEE(1,"vip"),
    CHECK_FEE_2(2,"vip2"),
    DIS_FEE(3,"dis");


    private int code;
    private String msg;

    public String msg() {
        return msg;
    }

    public int code() {
        return code;
    }

    ExamineStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public static ExamineStatusEnum getEnum(int code) {
        for (ExamineStatusEnum ele : ExamineStatusEnum.values()) {
            if (ele.code() == code) {
                return ele;
            }
        }
        return null;
    }
}
